package cn.wgoodq.domain;

/**
 * Created by OuKyou on 2017/1/15.
 */
public class User {
    private String userId = "";
    private String passWd = "";
    private String userName = "";
    private boolean rmm = true;

    public User() {
    }

    public User(String userId, String passWd, String userName, boolean rmm) {
        this.userId = userId;
        this.passWd = passWd;
        this.userName = userName;
        this.rmm = rmm;
    }

    public boolean isRmm() {
        return rmm;
    }

    public void setRmm(boolean rmm) {
        this.rmm = rmm;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassWd() {
        return passWd;
    }

    public void setPassWd(String passWd) {
        this.passWd = passWd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("User{");
        sb.append("userId='").append(userId).append('\'');
        sb.append(", passWd='").append(passWd).append('\'');
        sb.append(", userName='").append(userName).append('\'');
        sb.append(", rmm=").append(rmm);
        sb.append('}');
        return sb.toString();
    }
}
